package home.game.client.controllers;

import home.game.management.UserManager;

/**
 */
public class Application {
    private static Application ourInstance;
    private UserManager userManager;

    public static Application getInstance() {
        if (ourInstance == null) {
            ourInstance = new Application();
        }
        return ourInstance;
    }

    private Application() {
    }

    public void initApplication() {
        userManager = new UserManager();
        userManager.initTransaction();
    }


    public UserManager getUserManager() {
        return userManager;
    }
}
